package org.penguin.boot.security.service;

import org.penguin.boot.security.entity.User;

import java.util.List;
import java.util.Optional;

/**
 * @author : cyhch
 * @version : 1.0
 * @createdTime : 2023/12/21 21:18
 * @since : 1.0
 */
public interface UserService {

    Optional<User> findByEmail(String email);

    List<User> findAll();
    User createUser(User user);
}
